package com.nzw.pojo.oil;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * Created by Administrator on 2018\4\11 0011.
 */


@Table(name = "t_oil")
public class Oil {

    private Long id;
    private String name;
    private Integer price;
    private Integer pulbicprice;
    private Long companyId;



    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name = "companyId")
    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }


    @Column(name = "price")
    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }
}
